<template>
	<view>
		<uni-search-bar placeholder="查询养老院"></uni-search-bar>
		<uni-group>
			<view class="u-flex">
				<button style="width: 50%;" @click="show = true">查询设施</button>
				<button style="width: 50%;"  @click="show2 = true">查询服务体系</button>
			</view>
		</uni-group>
		<uni-card @click="dinaji1" title="同辉养老" v-for="(item,index) in 10" thumbnail="../../../static/zhihui2/icons/4749c3782fc8b2b61a178faa12baf60.png">
			<view class="">
				同辉养老（集团）是一家有梦想、有强烈社会责任感的医养健康服务型企业，定位于一家
			</view>
			<br>
			<button @click="liji" type="primary">预约养老院</button>
		</uni-card>
		<u-action-sheet :list="actionSheetList" v-model="show"></u-action-sheet>
		<u-action-sheet :list="actionSheetList2" v-model="show2"></u-action-sheet>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show:false,
				show2:false,
				actionSheetList: [
					{
						text: '桌子'
					},
					{
						text: '椅子'
					},
					{
						text: '床'
					}
				],
				actionSheetList2: [
					{
						text: '高级'
					},
					{
						text: '中级'
					},
					{
						text: '一般'
					}
				],
			}
		},
		methods: {
			liji(){
				uni.showToast({
					title:'预约成功'
				})
			}
		}
	}
</script>

<style>

</style>
